
<{include file="app/header.tpl"}>

<div class="user-ucenter">

    <a href="/user/edit" title="" class="imga"><img src="<{$global_user.userIcon}>" class="img" alt=""></a>
    <h2 class="name-h2">
        <span class="name"><{$global_user.userName}></span>
        <{if $global_user.userGender == 'f'}>
        <img src="/resource/app/imgs/women.png" class="women" alt="">
        <{else}>
        <img src="/resource/app/imgs/men.png" class="men" alt="">
        <{/if}>
    </h2>
    <p class="signature">签名：<{$userinfo.userComment}></p>

    <a href="/user/edit" class="edit">编辑个人资料</a>

    <!-- 背景开始 -->
    <img src="/resource/app/imgs/<{$rand}>.jpg" class="bg" alt="">
    <!-- 背景结束 -->

</div>

<nav class="nav">
    <ul class="nav-ul fix">
        <li class="nav-li">
            <a class="a" href="/user/show" title="">
                <p class="title">晒单</p>
                <p class="number"><{$account.countsShai}></p>
            </a>
        </li>
        <li class="nav-li">
            <a class="a" href="/user/attention" title="">
                <p class="title">关注</p>
                <p class="number"><{$account.countsFollow}></p>
            </a>
        </li>
        <li class="nav-li">
            <a class="a" href="/user/fans" title="">
                <p class="title">粉丝</p>
                <p class="number"><{$account.countsFans}></p>
            </a>
        </li>
    </ul>
</nav>

<ul class="user-ucenter-ul">
    <li class="li">
        <a href="/user/money"  class="a" title="">
            <span class="left">我的账户</span><span class="middle">￥<{$account.coin/100|number_format:2}></span>
            <em class="back-icon"></em>
        </a>
    </li>
    <li class="li">
        <a href="/order/list"  class="a" title="">
            <span class="left">我的订单</span>
            <em class="back-icon"></em>
        </a>
        <a href="/order/list/finished" class="posa">晒单得佣金</a>
    </li>
    <li class="li">
        <a href="/user/likes"  class="a" title="">
            <span class="left">我的收藏</span><span class="middle"></span>
            <em class="back-icon"></em>
        </a>
    </li>
    <li class="li">
        <a href="/address/list"  class="a" title="">
            <span class="left">我的地址</span><span class="middle"></span>
            <em class="back-icon"></em>
        </a>
    </li>
    <li class="li">
        <a href="" onclick="window.youzi.client_open_setting();return false;"  class="a" title="">
            <span class="left">设置</span><span class="middle"></span>
            <em class="back-icon"></em>
        </a>
    </li>
</ul>

<{include file="app/footer.tpl"}>
